## 20ms 2984KB 5Min
num=int(input())

for i in range(num):
    sget=[int(i) for i in input().split()]
    if sget[0]+sget[1]>sget[2]:
        print(f"Case #{i+1}: true")
    else:
        print(f"Case #{i+1}: false")